You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eslint-import-context

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-import-context

Provide context info for eslint-plugin-import-x, so no extra arguments need to be added.

0.1.9
latest
Source
npmnpm
Version published
Weekly downloads
1.8M
7.17%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-import-context

GitHub Actions Workflow Status Codecov type-coverage CodeRabbit Pull Request Reviews npm GitHub Release

Conventional Commits Renovate enabled JavaScript Style Guide Code Style: Prettier changesets

Provide context info for eslint-plugin-import-x, so no extra arguments need to be added.

TOC

Usage

Install

# pnpm
pnpm add eslint-import-context

# yarn
yarn add eslint-import-context

# npm
npm i eslint-import-context

# bun
bun add eslint-import-context

API

import { useRuleContext, getTsconfigWithContext } from 'eslint-import-context'

const ruleContext = useRuleContext()

const tsconfig = getTsconfigWithContext(ruleContext)

Sponsors and Backers

Sponsors

Sponsors

1stGRxTSUnTS
1stG Open Collective sponsorsRxTS Open Collective sponsorsUnTS Open Collective sponsors

Backers

1stGRxTSUnTS
1stG Open Collective backersRxTS Open Collective backersUnTS Open Collective backers

Changelog

Detailed changes for each release are documented in CHANGELOG.md.

License

MIT © JounQin@1stG.me

FAQs

Package last updated on 26 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.